<div class="control-group">
    <label class="control-label">Select page <span class="required">*</span></label>
    <div class="controls">
        <?php
        echo CHtml::dropDownList("Block[postId]", $blockModel->postId, CHtml::listData(Post::model()->findAll("post_type = 'page'"), 'post_id', 'post_title'));
        ?>
        <?php echo $form->error($model, 'postId'); ?>
    </div>

</div>